-
Notifications
You must be signed in to change notification settings - Fork 2.3k
chore(java/eks): refresh sample code and set Amazon EKS version as 1.31 #1130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
31023b3 to
210adff
Compare
kaiz-io
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
|
We are getting the following error trying to build the project. /home/runner/work/aws-cdk-examples/aws-cdk-examples/java/eks/fargate-cluster/src/main/java/com/amazonaws/cdk/EksFargateStack.java:[5,58] package software.amazon.awscdk.cdk.lambdalayer.kubectl.v31 does not exist |
|
Forgot to add dependency. Let's check again. |
|
@kaiz-io any chance to review again? thanks! |
|
Got an error with test. ==============================
building project: java/eks/fargate-cluster
==============================
Error: Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.540 s <<< FAILURE! -- in com.amazonaws.cdk.EksFargateStackTest
Error: com.amazonaws.cdk.EksFargateStackTest.testEksCluster -- Time elapsed: 0.006 s <<< ERROR!
java.lang.RuntimeException:
Error: Expected 1 resources of type Custom::AWSCDK-EKS-Cluster but found 0
@jsii/kernel.RuntimeError: Error: Expected 1 resources of type Custom::AWSCDK-EKS-Cluster but found 0 |
5882d0f to
fcc1838
Compare
|
@kaiz-io Just fixed missing update version string, please check again. Hopefully it's the last commit for the PR. |
kaiz-io
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
What have been improved
cdk.jsonaligned with whatcdk init app --language javawould generated (with latestcdkcommand)References
Additional notes
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.